import { get, post } from "../utils/request";

//添加错题
export const addQuestionAPI = (data) => post("/api/question/addQuestion", data);

//获取错题
export const getQuestionAPI = () => get("/api/question/getQuestion");
